﻿#region

using System.Collections.Generic;

#endregion

namespace CuongHanh.Models.View
{
    public class SubCategoryView
    {
        private SubCategory subCategory;

        public SubCategoryView()
        {
        }

        public SubCategoryView(int id)
        {
            Id = id;
            ProductView = new List<ProductView>();
        }

        public SubCategoryView(SubCategory model)
        {
            Id = model.Id;
            NameVi = model.NameVi;
            NameEn = model.NameEn;
        }

        public int Id { get; set; }

        public string Name { get; set; }

        public string NameVi { get; set; }

        public string NameEn { get; set; }

        public string CategoryName { get; set; }

        public List<ProductView> ProductView { get; set; }
    }
}
